<div id="accountancy-list">
	<h3>Listado de Registros de pago</h3>
    <table>
    	<thead>
        	<tr>
        		<td>Titulo</td>
                <td>Estado</td>
        		<td>Monto</td>
        		<td>Ultima actualizacion</td>
        		<td>Alumno</td>
        		<td>Editar</td>
        		<td>Eliminar</td>
        		<td>Enviar mensaje</td>
        		<td>Ver mas informacion</td>
        	</tr>
        </thead>
        <tbody>
            <?php foreach ($arr_accountancy as $accountancy) { ?>
    		<tr>
    			<td><?php echo $accountancy['titulo']; ?></td>
                <td><?php echo $accountancy['estado']; ?></td>
    			<td>$<?php echo $accountancy['monto']; ?></td>
    			<td><?php echo $accountancy['ultima_actualizacion']; ?></td>
                <td><?php echo $accountancy['alumno']; ?></td>
    			<td><a class="normal-bt" href="<?php echo $host .'accountancy/update/'. $accountancy['id']; ?>">Editar</a></td>
				<td><a class="normal-bt" href="<?php echo $host .'accountancy/delete/'. $accountancy['id']; ?>">Eliminar</a></td>
                <td><a class="normal-bt" href="<?php echo $host .'messages/send/student/'. $accountancy['alumno_id']; ?>">Eliminar</a></td>
        		<td><a class="normal-bt" href="<?php echo $host .'accountancy/read/'. $accountancy['id']; ?>">Ver mas</a></td>
		    </tr>
            <?php } ?>
        </tbody>
        <tfoot>
        	<tr>
        		<td colspan="1"><a class="normal-bt" href="<?php echo $host .'accountancy/create'; ?>">+ Agregar Registro de Pago</a></td>
                <td colspan="2"><a class="normal-bt" href="<?php echo $host .'configuration/update-politics'; ?>">Actualizar politicas de pago</a></td>
                <td colspan="1"><a class="normal-bt" href="<?php echo $host .'configuration/update-payment'; ?>">Actualizar medios de pago</a></td>
        	</tr>
        </tfoot>
	</table>
</div>